import { createRouter, createWebHistory ,RouteRecordRaw} from "vue-router";


const routes: Array<RouteRecordRaw> = [
    {
        path: "/",
        name: "LoginAdd",
        component: () => import('../View/LoginAdd.vue')
    },
    {
        path: "/Login",
        name: "Login",
        component: () => import('../View/Login.vue')
    },
    {
        path: "/LoginShow",
        name: "LoginShow",
        component: () => import('../View/LoginShow.vue')
    },
    {
        path: "/WangBoorowShow",
        name: "WangBoorowShow",
        component: () => import('../View/WangBoorowShow.vue')
    },
    {
        path: "/BoorowShow",
        name: "BoorowShow",
        component: () => import('../View/BoorowShow.vue')
    },
    {
        path:'/BackBoorow/:BooroId',
        name:'BackBoorow',
        component:()=>import('../View/BackBoorow.vue')
    },
    {
        path:'/FinaAdd',
        name:'FinaAdd',
        component:()=>import('../View/FinaAdd.vue')
    },
    {
        path:'/FinaShow',
        name:'FinaShow',
        component:()=>import('../View/FinaShow.vue')
    }




    
]



const router = createRouter({
    history: createWebHistory(),
    routes
})

export default router;  
